#include<stdio.h>
#include<unistd.h>
#include<sys/types.h>

int main()

{

  chdir("/home/Czero/111");
  
  
  FILE*fp=fopen("log.txt","w");
  (void)fp;//ignore warning
  fclose(fp);

  while(1)
  {
    printf("i am a process,pid:%d\n",getpid());
    sleep(1);

  }

  return 0;
}
